namespace java com.weishaoying.thrift.learn.service

include 'User.thrift'

service UserService
{
    void insert(1: User.User user ),// throws (1:WmException.WmServerException ex),

    User.User getUserById(1:i32 id),// throws (1:WmException.WmServerException ouch),

    list<User.User> getAllUsers(),

    list<User.User> pageQueryUser(1: i32 pageNo, 2: i32 pageSize, 3: string username)


}